home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / dviware / dvibook / libtex / bzero.c < prev    next >
C/C++ Source or Header  |  1994-03-18  |  351b  |  18 lines

  1. #ifndef lint
  2. static char rcsid[] = "$Header: /usr/src/local/tex/local/mctex/lib/RCS/bzero.c,v 3.1 89/08/22 21:42:12 chris Exp $";
  3. #endif
  4.  
  5. /*
  6.  * Sample bzero() routine.
  7.  * This should be rewritten to be as fast as possible for your
  8.  * machine.
  9.  */
  10. bzero(addr, count)
  11.     register char *addr;
  12.     register int count;
  13. {
  14.  
  15.     while (--count >= 0)
  16.         *addr++ = 0;
  17. }
  18.